package cn.kgc.crowdfundingadmin.test;

import cn.kgc.crowdfundingadmin.common.CrowdFundingUtils;
import org.junit.Test;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

import javax.annotation.Resource;

public class test {

    public   static  void main(String[] args){
        BCryptPasswordEncoder bCryptPasswordEncoder=new BCryptPasswordEncoder();
        String str="admin";
        str=bCryptPasswordEncoder.encode(str);
        System.out.println(str);
       /* String s= CrowdFundingUtils.md5("admin");
          System.out.println(s);*/

    }
}


